package pl.szpadel.android.gadu;

/** Contact information data */
public class ContactInfo {
	// static data (loaded from contact list)
	public String displayName;
	public long id;
	public String email = new String();
	public String mobilePhone = new String();
	public String homePhone = new String();
	public String firstName = new String();
	public String lastName = new String();
	public String birth = new String();
	public String city = new String();
	public String wwwAdrress = new String();
	public String gender = new String();
	
	
	// volatile data (received from server)
	public Status status = new Status();
	
	/** Convenience constructor */
	public ContactInfo(String aDisplayName, long aId) {
		super();
		
		displayName = aDisplayName;
		id = aId;
	}
	
	/// to string
	public String toString() {
		return "Contact: [" + 
			"\n    id=" + id + 
			"\n    email=" + email + 
			"\n    mobilePhone=" + mobilePhone + 
			"\n    firstName=" + firstName + 
			"\n    lastName=" + lastName + 
			"\n    birth=" + birth + 
			"\n    city=" + city + 
			"\n    wwwAdrress=" + wwwAdrress + 
			"\n    gender=" + gender + " ]";
	}
}
